package com.gpy.boot2020.helloworld.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloWorldController {
    @RequestMapping("/hello/boot")
    private String helloWorld(){
        return "HelloWorld,Welcome to SpringBoot";
    }
}
